combobox: Also preselect active item in grid popup
authorDaniel Boles <dboles@src.gnome.org>
Thu, 19 Jan 2017 03:12:32 +0000 (03:12 +0000)
committerDaniel Boles <dboles@src.gnome.org>
Thu, 19 Jan 2017 03:18:08 +0000 (03:18 +0000)
commitc83ead5eeadf5ad1b6765049f65e815da48b37eb
tree3f70e565e6bf9de0824d2a7dc152827446ba4f37
parent494a38504b2af09f8df83844f592dd8d97eee223
combobox: Also preselect active item in grid popup

i.e. when wrap-width > 0. This was only being done for non-grid cases.
So, ComboBoxes in grid mode did not indicate their selection when popped
up and required users to keynav from ‘nothing’ (at the top-left) to the
item they wanted to select. By selecting the active item in advance, now
it’s highlighted & acts as the starting point for keynav around the grid
gtk/gtkcombobox.c